package com.szy.mvp_demo.mvp_m;

import com.szy.mvp_demo.Entity.MessageListEntity;
import com.szy.mvp_demo.mvp_p.OnDataSuccedListener;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/1/22 0022.
 */

public class MessageListModelTT implements BaseListModel {
    @Override
    public void loadData(OnDataSuccedListener listener) {
        List<MessageListEntity> data = new ArrayList<>();
        data.add(new MessageListEntity("头条", "2018-01-13", "金钱换自由！沙特反腐终于和解", "http://p4.so.qhmsg.com/bdr/326__/t01f0761c8281eb8379.jpg"));
        data.add(new MessageListEntity("头条", "2018-01-13", "金钱换自由！沙特反腐终于和解", "http://p4.so.qhmsg.com/bdr/326__/t01f0761c8281eb8379.jpg"));
        data.add(new MessageListEntity("头条", "2018-01-13", "金钱换自由！沙特反腐终于和解", "http://p4.so.qhmsg.com/bdr/326__/t01f0761c8281eb8379.jpg"));
        data.add(new MessageListEntity("头条", "2018-01-13", "金钱换自由！沙特反腐终于和解", "http://p4.so.qhmsg.com/bdr/326__/t01f0761c8281eb8379.jpg"));
        listener.upDataView(data);
    }
}
